<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
    <meta charset="utf-8">
    <title>新增</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="stylesheet" href="/js/commons/layui/css/layui.css" media="all">
    <link rel="stylesheet" href="/css/commons/base.css" media="all">
    <link rel="stylesheet" href="/js/commons/zTree_v3/css/zTreeStyle/zTreeStyle.css" type="text/css">
    <style>
        .layui-form-radio {
            font-size: 10px;
        }
    </style>
</head>
<body>
    <form id="dataForm" name="dataForm" lay-filter="dataForm" class="layui-form layui-form-pane" style="padding: 15px 0px 15px 15px">
        <div class="layui-form-item">
            <div class="layui-inline">
                <label class="layui-form-label">机构名称</label>
                <div class="layui-input-inline">
                    <input type="text" class="layui-input" id="depName" name="depName" lay-verify="required" autocomplete="off">
                </div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label">外部机构</label>
                <div class="layui-input-inline">
                    <input type="radio" name="external"  value="1" title="是" >
                    <input type="radio" name="external"  value="0" title="否" checked>
                </div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label">机构类型</label>
                <div class="layui-input-inline">
                    <select name ="depType" class="layui-select">
                        <option value="" >请选择</option>
                        <option value="1" selected>单位</option>
                        <option value="2">部门</option>
                    </select>
                </div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label">主管单位</label>
                <div class="layui-input-inline">
                    <input type="radio" name="managerDep" value="1" title="是" >
                    <input type="radio" name="managerDep" value="0" title="否" checked>
                </div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label">父机构</label>
                <div class="layui-input-inline">
                    <input type="hidden" class="layui-input" id="pid" name="pid" autocomplete="off">
                    <input type="text" class="layui-input" id="pname" name="pname" autocomplete="off" readonly>
                </div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label">显示顺序</label>
                <div class="layui-input-inline">
                    <input type="number" class="layui-input" id="sort" name="sort" autocomplete="off" value="99" lay-verify="required|number">
                </div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label">负责人</label>
                <div class="layui-input-inline">
                    <input type="text" class="layui-input" id="respName" name="respName"  autocomplete="off">
                </div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label">负责人电话</label>
                <div class="layui-input-inline">
                    <input type="text" class="layui-input" id="respPhone" name="respPhone"  autocomplete="off">
                </div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label">联系人</label>
                <div class="layui-input-inline">
                    <input type="text" class="layui-input" id="linkName" name="linkName"  autocomplete="off">
                </div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label">联系人电话</label>
                <div class="layui-input-inline">
                    <input type="text" class="layui-input" id="linkPhone" name="linkPhone" autocomplete="off">
                </div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label">邮政编码</label>
                <div class="layui-input-inline">
                    <input type="text" class="layui-input" id="zipcode" name="zipcode"  autocomplete="off">
                </div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label">单位地址</label>
                <div class="layui-input-inline">
                    <input type="text" class="layui-input" id="address" name="address" autocomplete="off">
                </div>
            </div>
        </div>
        <button type="button" class="layui-btn" lay-filter="submitBtn" style="display:none;" lay-submit="" id="submitBtn" name="submitBtn">保存</button>
    </form>
    <div id="open_tree" style="display: none">
        <ul id="ztree" class="ztree"></ul>
    </div>
</body>
</html>
<script charset="utf-8" src="/js/commons/layui/layui.all.js" ></script>
<script charset="utf-8" src="/js/commons/jquery.js"></script>
<script charset="utf-8" src="/js/commons/common.js"></script>
<script type="text/javascript" src="/js/commons/zTree_v3/js/jquery.ztree.all.min.js"></script>
<script charset="utf-8" src="/js/mng/dept/dept_add.js"></script>
